<ul class="maintabmenu">
    <li class="current"><a href="">Cấu hình Website</a></li>
    <li><a href="<?php echo base_url();?>admin/options/add">Thêm cấu hình</a></li>
</ul>
<div class="content">
    <div class="contenttitle radiusbottom0">
        <h2 class="table"><span>Danh sách cấu hình</span></h2>
    </div>
    <table border="0" cellspacing="0" cellpadding="0" class="stdtable">
        <colgroup>
            <col class="con0">
            <col class="con1">
            <col class="con0">
            <col class="con1">            
        </colgroup>
        <thead>
            <tr>
                <th class="head0">ID</th>
                <th class="head1">Option Key</th>
                <th class="head0">Option Value</th>
                <th class="head1">Action</th>
            </tr>
        </thead>
        <tfoot>
            <tr>
                <th class="head0">ID</th>
                <th class="head1">Option Key</th>
                <th class="head0">Option Value</th>
                <th class="head1">Action</th>
            </tr>
        </tfoot>
        <tbody>
            <?php foreach ($options as $option){?>
            <tr>
                <td width="50" class="center"><?php echo $option->id;?></td>
                <td><?php echo $option->key;?></td>
                <td><?php echo $option->value;?></td>
                <td class="center">
                    <a href="<?php echo base_url();?>admin/options/edit/<?php echo $option->id;?>">Sửa</a> &nbsp;|
                    <a href="<?php echo base_url();?>admin/options/delete" data="<?php echo $option->id;?>">Xóa</a>
                </td>
            </tr>            
            <?php }?>
        </tbody>
    </table>
</div>
